home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1903 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: merkurius.lu.se!usenet
  2. From: dat94ali@ludat.lth.se (Anders Lindgren)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: resourcetracking/Kill on A4000
  5. Date: 24 Jan 1996 22:00:54 GMT
  6. Organization: Dept. of Computer Science, Lund University, Sweden
  7. Message-ID: <4e6a6m$8ru@merkurius.lu.se>
  8. References: <4e0554$hro@merkurius.lu.se> <4e2cqe$1i2j@rs18.hrz.th-darmstadt.de>
  9. NNTP-Posting-Host: bach-5.ludat.lth.se
  10.  
  11. In article <4e2cqe$1i2j@rs18.hrz.th-darmstadt.de>, 
  12. meixner@rbg.informatik.th-darmstadt.de (Matthias Meixner) writes:
  13.  
  14. >ali (Anders Lindgren) (dat94ali) wrote:
  15.  
  16. [WWROAM my chainsaw cuts away my article]
  17.  
  18. >Resource-tracking is not possible with the current version
  19. >of the OS. The problem is resource trading:
  20.  
  21. Of course, that's a really nice feature, making task
  22. communication really fast.
  23.  
  24. >task "a" allocatest memory and sends it to task "b"
  25. >task "b" can now do with it what it wants.
  26. >If you had resourcetracking, the memory would be 
  27. >freed if task "a" terminates and whereas task "b"
  28. >would still use it, which is a good way to bring a
  29. >system down.
  30.  
  31. darned, I just *knew* there had to be some big catch! :(
  32.  
  33. >With the current version of the OS, the OS cannot
  34. >know, who actually holds a resource, and therefore
  35. >there cannot be resource-tracking.
  36.  
  37. Couldn't it be used as described, with the flollowing modi-
  38. fications;
  39.  
  40. o Resources are only returned when I kill a program
  41. o If the program has communicated with other programs
  42.   (and thereby possibly passed pointers and stuff to it)
  43.   not parts of the OS, I get a big, fat warning saying
  44.   "You know lad, this could really f*uck up everything"
  45.  
  46. Otherwise I guess I'll just have to accept gradually loosing
  47. ram because a lot of shareware for some reason hates my machine... :P
  48.  
  49. (After all, it's much less annoying than system-crashes. And oh, yeah. 
  50.  Some of Pete Storonskij's games seem really fun, anyone know why they
  51.  all refuse *not to* crash taking the entire system with them? I've got
  52.  a pretty much stock A4000/040 - could it be one of my (few) commodities?)
  53.  
  54. /ali (Anders Lindgren)-----------------------------------------------
  55.  dat94ali@ludat.lth.se             |  A4000/040  | "Yes, I do think |
  56.  http://www.ludat.lth.se/~dat94ali |  AmigaOS3.0 | M$ sucks major"  |
  57. ---------------------------------------------------------------------
  58.   
  59.  
  60.